package com.yuxi.Dao.Impl;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.yuxi.Dao.InformationLockDao;
import com.yuxi.Entity.CommentRecordBrowse;
import com.yuxi.Entity.InformationLock;

public class InformationLockDaoImpl extends BaseDaoImpl<Serializable, Serializable> implements InformationLockDao {
	private Logger logger=LoggerFactory.getLogger(InformationLockDaoImpl.class);
	public InformationLockDaoImpl(){
		super(InformationLock.class);
	}
	@Override
	public InformationLock getLockByInfoId(Integer infoID) {
		// TODO Auto-generated method stub
		return (InformationLock) super.get(infoID);
	}

	@Override
	public InformationLock addInfoLock(InformationLock iLock) {
		// TODO Auto-generated method stub
		return (InformationLock) super.addAndReturn(iLock);
	}

	@Override
	public void modiflyInfoLcok(InformationLock iLock) {
		// TODO Auto-generated method stub
		 super.update(iLock);
 	}

}
